package cn.humaohua.study.yanmo_design_pattern.ch20.v2;

public class CacheConfModel {
    //开始缓存时间
    private long startTime;
    //最长不使用清除时间
    private long durableTime;
    //是否缓存永久有效
    private boolean forever;

    public CacheConfModel() {
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getDurableTime() {
        return durableTime;
    }

    public void setDurableTime(long durableTime) {
        this.durableTime = durableTime;
    }

    public boolean isForever() {
        return forever;
    }

    public void setForever(boolean forever) {
        this.forever = forever;
    }
}
